<@compress single_line=true>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
<link href="/resource/css/admin/right.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/base.js"></script>
<script type="text/javascript" src="/resource/js/admin/templatefileedit.js"></script>
</head>
<body>
	<div class="position"><span>您的当前位置：</span>网站维护 > <a href="../template/">模板订制管理</a> > <a href="./?currentdir=${urlEncode(currentdir)}">模板文件管理</a> > ${(!filename??)?string("新建","修改")}模板文件</div>
	<form method="post" action="fileeditdo" onsubmit="return checkform()">
		<div class="rightbody m">
			<div class="rightbodycontent">
				<table cellspacing="1" cellpadding="4" class="tableedit">
					<tr>
						<td>当前路径：</td>
						<td>${currentdir}</td>
					</tr>
					<tr>
						<td>文件名：</td>
						<td>
							<input type="text" name="name" id="name" value="${filename!}" /> <span style="color:red">*</span>
						</td>
					</tr>
		            <tr>
						<td>文件内容：</td>
						<td>
						    <textarea name="filecontent" style="width:1000px; height:300px;">
						    	</@compress>${filecontent!?html}<@compress single_line=true>
						    </textarea>
						</td>
					</tr>
				</table>
		        <input type="hidden" name="oldname" value="${filename!}" />
		        <input type="hidden" name="currentdir" value="${currentdir}" />
	        </div>
		</div>
		<div class="rightfoot">
			<div class="rightfootcontent">
				<input type="button" value="返 回" class="return" onclick="history.back()" />&nbsp;
	            <input type="submit" value="保 存" class="save" />
            </div>
        </div>
	</form>	
</body>
</html>
</@compress>